package com.boyon.customer.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import lombok.Data;

@Data
@Entity
@Table(name = "base_agent_relation", catalog = "boyon_customer")
public class AgentRelation implements java.io.Serializable {

	/**
	 * serialVersionUID:
	 * 
	 * @since JDK 1.8
	 */
	private static final long serialVersionUID = 2909459043116382567L;
	@Id
	@Column(name = "customer_id", unique = true, nullable = false)
	private Long customerId;
	@Column(name = "parent_customer_id")
	private Long parentCustomerId;
	@Column(name = "query_path", length = 1024)
	private String queryPath;

}